code: function () {
              var rand = '' + Math.random() * 1000 * new Date().getTime();
              return rand.replace('.', '').split('').sort(function () {
                  return 0.5 - Math.random();
              }).join('');
          }
docs: used to generate random id attributes when required and missing