reindent html
use knockout to manage state for automatic updates