* reorder code to be defined prior to being used
* update some brackets per style guide
* classList.add supports multiple args so convert to that