change format js to html, in new proforma