properly saving the module names for the js-implemented modules.