Please use `new Event(strEvent, { bubbles: myEvents[num][1], cancelable: myEvents[num][2] })`