added javascript to show all rows of table when printing