generate Table and Window in generate.page.class.js
improvement getImports for generate.page.class.js