Optimize createJSHTMLWrapper() by using a switch statement and leveraging the fairly recently added ElementName enumeration.
Pull request: https://github.com/WebKit/WebKit/pull/12035
<rdar://problem/107299575>
Committed 262212@main (3c19d495573e): <https://commits.webkit.org/262212@main> Reviewed commits have been landed. Closing PR #12035 and removing active labels.