Update counter.js
Merge pull request #7 from masonbedard/patch-2

Update counter.js