Add "ms" after latency legend
Mark header as a row to make it more compact
In case JSON.parse fails, do not crash

Closes #23.