table is now populated using javascript