Node.js string_decoder.js for Titanium and Browser