fixed message bug on chrome
fixed chrome js message bug