JS fix for dataTables