replaced pubsub with ko.observable
save method to viewmodel, fixed publisher typo