Fix Date.parse bug for some JS versiones