code: function getExpandedUrl(url, options) {
  	var x = 0,
  		i;
  	if (options.urls) {
  		i = options.urls.length;
  		while (x < i) {
  			if (options.urls[x].match === url) {
  				if (options.urls[x].expanded) {
  					return options.urls[x].expanded;
  				}
  				return null;
  			}
  			x++;
  		}
  	}
  	return null;
  }
docs: gets exteneded urls from options.urls array