Remove javascript error of the clock