fixed base64js polyfill error