Relocate JS/CSS function switches