Fixes #15. e.preventDefault() throws error.
make sure to use jshint 2.4.x