text: $(function () {
      if ((document.location.host.indexOf('.dev') > -1) || (document.location.host.indexOf('modernui') > -1)) {
          $("<script/>").attr('src', '/content/js/metro/metro-loader.js').appendTo($('head'));
      } else {
          $("<script/>").attr('src', '/content/js/metro.min.js').appendTo($('head'));
      }
  })