fix how to cast correctly a milliseconds utc value to a js date object