add js and tpl