adding importJSModules functionality