Added initial javascript functionality to dare submit form.