[WO-406] use js-only decoder for base64 instead of using window.atob