build options with array buffer instead of large string
use a sample of page number links for large collections

Large collections will have a large number of page links. The browser slows noticeably when inserting the large page links collection into the DOM.