Moving js around