Reconsidered the use of a library not updated for 5 years, instead added momentjs as a dependency