removed console log / fixxed clear b64 regexp for larger mimetypes