Handle J! 2.5 pagination.
Fixed router issue for urls without a corresponding menu item.
Fixed missing JDocument reference.