update scripts folder to js