Put back pagination in html output