Fixed isHTMLElementSupported Function