HTML5 file upload for Gallery with drag and drop support and XHR upload with upload progress