add a btoa/atob polyfill for ie9