Client build: modularize pagination plugin from ui.js