Update to work with Firefox (not sure about other browsers)

Changing this fixed my problem with plain text being submitted whenever the mouse isn't moved. (I like using tab to enter things :P)
Merge pull request #12 from alpha-ninja/master

Update to work with Firefox (not sure about other browsers)