API and Other changes

index.html: Removed <form> tags, conflicts with the submit on click
submit.js: changed url processing