fixed validation/prevent form submit for ie8