JavaScript validation fails trying to parse minified JS as TODO marker