First of all, these must all be on the same line. The string you define is on one line, but you will insert the escape character for “new line” to add lines to the output.
Secondly, your assignment, you have:
var myStr; ...
What is the semicolon doing there? In JS, assignments are done as: