Javascript enhancements to replace the lineup deadline with a deadline in the local time