allow js files that begin with //
5.4 strict mode fixes
Merge pull request #231 from will123195/3.0

3.0