Pass window to intro if available

This is needed so that `var jQuery = require('jquery')` returns jQuery and not the factory when used via browserify.