Fixing some bugs in the re-tooling of toggleClass, adding in some performance optimiz...