Fixing jshint errors for Travis