Make sure ajax form submissions work.
Merge pull request #7 from hex337/ajax-form-submit

Make sure ajax form submissions work.