js check for total classed removed for d time being