Bug 947778, return early from SetEventHandler when ELM can't find the global jsobject, r=bz