MVC JavaScript Calculator