Added jshint and precommit hooks