Implement utility file for working with javascript dates