Indicate and co-ordinate JavaScript time events