fixed the comment bug in JS files, multi-line was breaking the regex match for JS files