Fix syntax error in JavaScript for single-facility form display logic.