added grunt and fixed jshint warnings