Remove js.CustomDef which are not used anymore.
Clean up manipulations of names of classes/modules/moduleclasses.