Refactor Module#delegateEvents() to remove lint errors
Run jshint on Travis CI along with the tests