Reverted changes for cc.EventListener made in commit d5508f4 due to the EventListener not yet supporting the 'new' keyword.