Or you can just rebuild the wiki with --no-usedirs, which seems like a much more sensible solution to me, if you're browsing a build with file:// a lot. Still, the javascript is probably useful in some cases.. --Joey