updated javascript generated modules to use jsdom