create main.js file and trow there a js code