Javascript analysis-page timer

Use javascript to time the refresh of the analysis page when displaying
‘now’.