refactor header to use knockout