add main js file