Fixed _cookies so that it is an object instead of an array misused as an object.
Added brackets around for statement in cookies fix.
Merge pull request #12 from coderunr/cookiesfix

Fixed _cookies so that it is an object instead of an array misused as an object.