fixed onsubmit, added XHTML support
fixed page refresh bug
Merge pull request #1 from patricksimpson/bugfix-1.1.9

###Bugfix 1.1.9

  * Adds XHTML support.
  * Fixes the form submit bug.