rename base64 data url encode function