javascript to add data-bind