MDL-38086 convert modtype_ that delete js needs