Enable Travis CI (JSHint).

Slightly refactored global.html to make it happy, but nothing was
actually changed.