moved fn (self-url) here from /lib-what-you-need/top-page