code: function dropFile() {
          // Check for File API support
          // if (typeof window.File === 'undefined' ||
          //     typeof window.FileReader === 'undefined') {
          //   alert('The File APIs are not fully supported in this browser.');
          // }
  
          $("#preview").bind('dragover', function () {
              $("#paper").addClass('hover');
              return false;
          }).bind("dragend", function () {
              $("#paper").removeClass('hover');
              return false;
          }).bind("drop", function (e) {
              $("#paper").removeClass('hover');
              e.stopPropagation();
              e.preventDefault();
  
              renderImportedFile(e.originalEvent.dataTransfer.files[0]);
              return false;
          });
      }
docs: /* Text file drag-and-drop