fix compatibility error with chrome and safari when dragging file to dropzone

When dragging a file into the dropzone in chrome an undefined error occurred. This meant any user would be unable to drag files into the dropzone. This was because dataTransfer.types.contains is undefined in chrome and safari, however it is defined in firefox. In firefox dataTransfer.types is a DOMStringList, in chrome it is an Array.