Fixing JS date picker bug and hiding help when nav is closed