Bug 979497, make sure to use the right event type atom throughout CompileEventHandlerInternal, r=jst