Uglify crushes server when parsing js with html comments, fixed it by placing my code inside try/catch statements