Removes hasClass function