An UTF-8 encoder/decoder in JavaScript.