Add Javascript to puppetclasses_or_envs_changed page