pagenavi.js from the repo