Added logic for jqLiteHasClass