Created main js file