Image to base64 online encoder using HTML5 file API