feature #5157 fixing javascript interval problem