update grunt config and make some jshint fixes.