add classes, hasClass, addClass, removeClass, toggleClass functions to Element