Similar to what we did in #496 for disabling the experimental warning, this change allows us to dynamically generate the warning checkboxes based on the warnings provided by js-x-ray. This way, we won't need to manually update the UI whenever warnings are added or removed in js-x-ray.