Eliminated references to old variable 'documentUrl' not injected in the page anymore. The old references were causing malfunction of the display of the references.