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