Added new onSubmit and HTML form support
Create DOM4 style event for IE < 9