add Form element in generate.page.class.js