delete counter js