make timestamps inline-block
Make the html file replacement atomic