Generic Knockout update

Updated to have optional value for ko.observable. Used boolean in place of deprecated bool keyword.