Base91 Encode/Decode in Javascript