add jshint with grunt task and fix jshint errors