Fixed to "var totalPointViewXs" - I think I was doing "var totalPointViewXs = new TotalPointViewXs".