beautified dates in JS