added ErrorEvent WebIDL and errorevent.rs