mw.htmlform: Don't refer to OO.ui if it might not be loaded