Moving js into scripts folder