fix in index.js for _encodeHTML creattion