Moved cookies object so it will never be undefined.
3.0.1