whackamole with JS dates. Closes #719