main.js added to js