res:comm:: fix bug about embeding js