add cookieDomain option, update cookie.create with domain param
removed spaces to match code style
merged cookie domain