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.
Merge pull request #24 from DannyWilkerson/patch-3

Update time.html