Revert "Switch JS and CSS to new...electric modes"

This reverts commit 8861091143c851591e6f20596f06af98fb791c39.
Remove old code, from back when I used pair-mode