pagerizer.js: cleanup