Add workaround for jsf reloading with ajax.
Without this workaround, links in navigation, footer and the sorting and deleting buttons work only the second time.
Have a look on StackOverflow for this issue: https://stackoverflow.com/questions/10094615/a4jcomandbutton-action-is-only-invoked-on-second-click