begin testing with event.charCode() for Firefox