update CommonEvent.js