try{
//this correctly finds the controller
var controller = GetDoc().ServerCtrls.filter(function(x) { return x.Name == ctrlName; });
//controller is defined yet controller.ServerRoutes is undefined
console.log(controller.ServerRoutes);
} catch(err){
Err.ICEBERG(err);
}