Create main js file