Fix for passing a blank string into jsdom.jsdom()

Follow-up for discussion on #772.

Fixes a bug where calling `jsdom.jsdom(' ')` resulted in a document with
no html, while `jsdom.jsdom('')` yields the default `<html>...</html>`.

I'm using `trim()` to strip whitespace from the parameter and check if it's falsy.