Moves JavaScript directly after UL