Uncaught TypeError: undefined is not a function userCounter.js:20