replace deprecated renderDocument script with renderCelementsDocument
scriptservice call