Use HTML5 base64 functions2