added jshint pre-commit hook