Checks that JavaScript files are in strict mode.