Remove unused paging keys javascript