the string_decoder module from node core for browsers