MDL-66307 js: Add missing plugintypes structure in subplugin read