getRequestedExample = function () {
    var query = window.location.search.substring(1);
    var vars = query.split('&');
    var param = null;
    for (var i = 0; i < vars.length; i++) {
      param = vars[i].split('=');
      if (param[0] === 'example') {
        if (param[1].charAt(param[1].length - 1) == '/')
          return param[1].replace('/', '');
        return param[1];
      }
    }
    return null;
  }
Extracts a potential form to load from query string