Upgraded solution to 2012
Using the new JS-dependenc injection for viewmodels.