scripting:api:frame-events:on-new-document