created main js file