base64 for chrome app