Fixed being unable to retrieve a value for some cookies

Cookies that had a key name that was the same as a built-in `Object`
property (e.g., 'constructor') were not being read properly by the
library. Closes #29.