A robust base64 encoder/decoder that is fully compatible with `atob()` and btoa()`, written in JavaScript.