Simple Javascript MVC single-page application