add translator for html -> js