No header when no documents in document index.
Fixed Uncaught ReferenceError: afterLoad