css and js for counter