Different was to write javaScript viewModels in DurandalJs