Updated prevent default code to work in IE8 and below
Merge pull request #1 from jamesryanbell/master

Updated the prevent default code so that it works in IE8 and below