clean main js files