Removed console.log(viewModel) from cc.RegisterCalc() as it was causing issues when running on web server.