code: def load_js(js_url=None, version='5.2.0'):
          
          js_filename = 'dropzone.min.js'
          serve_local = current_app.config['DROPZONE_SERVE_LOCAL']
  
          if serve_local:
              js = '<script src="%s"></script>\n' % url_for('dropzone.static', filename=js_filename)
          else:
              js = '<script src="https://cdn.jsdelivr.net/npm/dropzone@%s/dist/%s"></script>\n' % (version, js_filename)
  
          if js_url:
              js = '<script src="%s"></script>\n' % js_url
          return Markup(js)
docs: Load Dropzone's js resources with given version.
  
          .. versionadded:: 1.4.4
  
          :param js_url: The JS url for Dropzone.js.
          :param version: The version of Dropzone.js.