Event in main.js added