Fix main js entry