add clock with js