Corrected MainView.js template for comma correction and formatting.