MVC framework combining jQuery with Closure Library