The “<script src="/” + DBPath + “/Menu.js">” + @NewLine becomes
You have so " to tell the system you want not see that as the end of the quoted string but should be output as a literial quote.
Here is a tip for you, you don’t need to use quotes for strings. You can use | (instead of ") or { and }
I like to use { } when working with text that will contain quotes as I find it’s easier to see the starting and stopping of the text string. So you could have written the above like this: