A jquery plugin for pagination where the number of items is undetermined