added rows into table using js