add travis + fix jshint errors