main js change