Fixed some more javascript problems in the log page.