Create event-cpt.js