This is my code. I\'m trying to stop running an external js file when screen width is less than 1025.
You can use {{html ""}} in place of
Explanation [update]:
When you use a HTML tag inside a quoted (literal) string, the tag is treated as a closing tag rather than as a portion of the string. So you cannot directly use the tag inside a script section.
One work-around is to escape the tags and/or split up the tags:
var scriptEnd = "";
document.write(scriptEnd);