Added time widget JS

time widget JS