fix jacascript communicate