AJAX form submission for registration, submit button loaded to prevent some spam, cleaned up a bit.