base64 that works in IE