Added a tokenizing version of toggleClassArr() for testing.