code: function handleScriptValidation(url) {
          if (!url) {
            return;
          }
          url = url.split('#')[0];
          var scripts = document.getElementsByTagName('script');
          for (var i = scripts.length; i--;) {
            if (scripts[i].src === url) {
              return true;
            }
          }
          return false;
        }
docs: @function handleScriptValidation
  
  @param {string} url