Add pre-commit hook for jshint.