code: function(url){
          if(url[0] === '/'){
              return windowManager.config.appBase + url.substr(1);
  
          }else{
              return url.replace('{appBase}', windowManager.config.appBase);
          }
      }
docs: Readies the passed URL for opening. If it starts with "/" it will be prefixed with the app directory
  path. Also if it contain "{appBase}", this value will be replaced with the app path too.