code: public function getScriptSrc($version = null, $full = true)
      {
          if (!$version) {
              $version = self::VERSION;
          }
          if ($full) {
              $tail = "uploadcare.full.min.js";
          } else {
              $tail = "uploadcare.min.js";
          }
  
          return sprintf($this->api->getCdnUri() . '/libs/widget/%s/'. $tail, $version);
      }
docs: Return URL for javascript widget.
  If no version is provided method will use default(current) version
  
  @param string $version Version of Uploadcare.com widget
  @return string