Added a require statement to pull in CookieJar dependency for Node (if there is no Window global present)