Fix jshint warnings
Ensure jshint is also run by travis