points counter fix js