debug main js file