Fix dynamic_generate_table_rows extension ext.

Fix dynamic_generate_table_rows file ext. Add </head> and </html> tag.