that know for sure contains a link,
  // otherwise the script will error out and fail.
  var linkCreated = false;
  while(!linkCreated){
    div.empty(); // clear previous problem, if any
    var numTabs = core.randi(2, 7);
    var wrapper = $('<ul>').appendTo(div);
    for(var i=1;i<=numTabs;i++){
      var tab = $('<a>').attr('href', '#tabs-' + i).text('' + i)
        .appendTo($('<li>').appendTo(wrapper));
      var txt = ui_utils.generateWords(20).split(/\s/g);
      for(var j=0;j<txt.length; j++){
    