Use new jshint version

Plus fixes to remove jshint reported warnings