edit main js