Check format of .js files in pre-commit hook.
Merge pull request #37 from fancycode/check_js_on_commit

Check format of .js files in pre-commit hook.