move js to scripts folder