fixed #1855: std_string_to_jsval generates messy js string when passing non-ascii UTF8 std::string.