fixed some major sloppy shit in the log viewer js