added some javascript to table.jsp