added a main.js