JavaScript MVC curios