http://jsperf.com/seconds-to-time
Run this, and if you prefer the code consider changing it.