recode the js-console page