Fix new state bug
Merge pull request #278 from willwclo/make-it-so-number-one

BUGFIX: No longer tries to access nodeList.classList if nodeList is empty