Bind std::basic_string<unsigned char> to js strings
fix polymeris's tests