added main.js to js folder