added the main.js