quick bugfix and switch

fixed a bug with the counter and. switched around some of the words in
the js