create a main js file

main file