fixed issue where pressing <enter> was submitting the form on IE/Safari