fixing dojo issues with round trip dates