Added support for passing in the window object directly as this is the return value of window.open
Merge pull request #4 from dcousineau/feature-window-open-handles

Added support for passing in the window object directly