upated main.js
Modified the way to reference viewModel itself