Cusom bindings should be registered by extending the current knockout bindingHandlers object.
This is done by adding a new property to the object.
ko.bindingHandlers.newBinding = {
init: function(element, valueAccessor, allBindings, viewModel, bindingContext) {
},
update: function(element, valueAccessor, allBindings, viewModel, bindingContext) {
}
};