Lint fix
checked number before parseInt
read total from global object
Merge pull request #2256 from Spiritlebon/master

lint fix
stopped loader from crashing whenever NodeBB restarts
removed users:online set

using websockets.getConnectedClients directly
Merge branch 'master' of https://github.com/NodeBB/NodeBB
dont reverse  infinite load  admin/events