adding more precision when generating js dates