Add travis jshinting

Resubmission of #788 against the `dev` branch
___

See http://about.travis-ci.org/docs/user/getting-started/ for instructions on setting up the GitHub hook.

This will be marked as failed because there are a few issues already in Chat.ui.js