*6434* Fixed total items assignment in js paging class