Make loadHtml always async