Hide pagination when javascript is enabled.