Less global pollution

Instead, it creates and populates `WYMeditor.EXTERNAL_MODULES`.