Fix for passing a whitepsace string to jsdom.jsdom()

Fixes a bug where calling jsdom.jsdom(' ') resulted in a document with
no html, while jsdom.jsdom('') resulted in the default <html>...</html>