Intro: Pass window to intro if available, for browserify

Closes gh-1476
(cherry picked from commit 6de1d973a436282af7dfe3072924016c3cdc1984)