Bug 871510 - Some event handlers appear as undefined, hiding the appropriate null values in the prototype; r=msucan