Maybe hide this setting when not used. Since this is the setting page the check can be done in PHP with no JS.