Update time.html

There are some cross-browser issues with using innerText so I think we should use innerHTML instead. I also think adding onopen and onclose is needed for extra feedback.