main js buit