I obviously agree, but I don't have a good enough understanding of the existing JS to be able to do that. All I can really do is a manual test to see if anything breaks.