Added event.preventDefault();
Added comments.
Merge pull request #6 from nsmits/master

Added event.preventDefault();