Simple, non-invasive JavaScript date sanitisation.