fixed firefox bug where pressing enter on a field wouldn't trigger the
event code