Fixed #3427: fixed some mistakes in CCEventManager.js