General KO polishing. Removes some hardwired JS in the HTML and replaces it with KO bindings.