Attempting workaround for btoa function in ie