Added jshint in the grunt tasks

Also fixed the broken rules.