drag&drop file upload script
minor changes