Determine path to the script, even when `jsdom` is available further up the dependency tree. This solves gh#1.