Pass node but not node.className to _hasClass.