Restore enter key in onKeyPress for FireFox + minor IE8 precaution