Create main.js

main js file