Fixing JSHint errors in Stemmer.js