Update timepicker javascript to fix a bug. [Fixes #53490833]