Import a patch of trace-viewer

https://github.com/google/trace-viewer/commit/aad10d932109f8def73c6b4c8195a92959477e91
Import a patch of trace-viewer

https://github.com/google/trace-viewer/commit/38def21e770f1ac3ce8ec9433dbd8a346f2a6d5b