connected all switches to colorswap.js