Calling functon within site.ts  viewmodel with protoype....