[Tong] Refactor hours, mins, seconds in controller.js