Submit using plain javascript instead of jQuery.

Closes #6