LOCAL: JavaScript tweak to require date