A C#-esque TimeSpan object for JavaScript