removed pagination links if the user has javascript enabled