Cannot read property x-ua-compatible of null

node v0.13.0-pre url.parse query returns null if no query string, and getXUACompatibleUrl and getXUACompatibleMetaElement are not checking for this
yep, i think it makes more sens to fix/patch the urlparse function instead