checking class removal using js