added non js clock option