refactor tests to remove globals and fix in firefox
Merge branch 'master' of github.com:Codecademy/textarea-helper