Add jshint
Configure jshint.
Address jshint complaints.