Rearrange JS hiding parts.