Hide disabled pagination buttons, fix header paddings/margins, remove js errors