Drag and drop file uploading using JavaScript