script.js and event.json with basic operations