Update locale
jshint fixes
Run jshint on Travis (fixes #1914)