js to scripts folder