move JS content around