tools: Simpler jslint when not processing HTML files

When processing HTML files our jslint invocation has to be rather
complex and hokey. But for javascript files, it can be pretty
simple.