Add missing jshint option in Gruntfile and fix jshint errors

These errors were missed in the port PR because the maxlen option
appears in the .jshintrc file but not in the Gruntfile.

Signed-off-by: Don Naegely <naegelyd@gmail.com>