code: function shortenUrl ( url , length ) {
  
    if( !isBlank( url ) && url.length > length) {
        url = url.substr( 0 , length ) + "...";
    }
  
    return url;
  }
docs: Shortens the URL and adds three dots to the end