create js folder and add main.js