Added exports.checkHtml