added sortable table javascript