javascript for functioning analog clocks on locations section