Fixed JS to ensure new boxes have the right labels.