add grunt file, fix jshint warnings/errors