Restored DropZone.js to original state and moved code for reloading the
page after a file upload to a separate file.