add a main js file