fix for the dom module not being compatible
added compatibility property
fix for passing a string to Event.fire