Normalize events to support IE6 without jQuery