add html transform code