pjax: Fix placement of footer

Footer should not be in `#pjax_container`, because the footer is not rendered for non PJAX requests.

Fixes #1353