isEventSupported and simulateEvent functions!!