add html->js transform