Startin work on JavaScript view model