create a table dynamically with javascript

create a table dynamically with javascript