Added fix to the compilation script to escape the 'compiled.js' file itself by scanning the HTML template better.