add oninput event support for IE8
support bubbling of submit event for IE8
(function(){})() -> function(){}() in some cases