Better unique URLs for dynamic scripts (issue 7097)