Tidy up diff HTML / JS.