Fix for travis not working

@kangax
Looks like new JSDOM introduced some backward incompat. ( who doesn't from 0.1.1 to 0.11)
( document.createWindow() is removed , now is document.parentWindow )
I kept both just in case you want to keep support for older JSDOM.
Looks like we can rely on latest nodeJs now.