added jshint to grunt and fixed issues