Lint police

Fix lint errors.
Add jslint pre-commit hook.
I see what you mean now. You want the existing build script to fail on lint errors when a specific environment variable is present. I buy it.

Is there an existing variable I should use?