Create events2.js