Corrects Date constructor to use milliseconds and toISOString. Fixes #296