adding preventDefault
Merge pull request #1 from kthornbloom/master

adding preventDefault