A Pure JS implementation of Time-Ago function.