convert go2 shortcut to anonymous function (otherwise gets invoked on route access if go2 is a property value of static routes object)