Fixed jshint violations
Enabled integration with Travis CI