removed . from hasClass