Fix Date in js