Intro: Pass window to intro if available, for browserify

Closes gh-1476