new main js