docs: function create_layer(path, params) {
      var p = path.substring(1).split('/');
      if (p[1] == 'browse')
        browse(p[2], params)
      else if (p[1] == 'create')
        form(p[2])
      else if (p[1] == 'update')
        form(p[2], p[3]);
    }