moving js around