fixed linting errors

Seems like someone didn't run `npm test` after the last commit (I removed the concatenated `hammer.js` from this PR on purpose).