Use two spaces for indents (instead of tabs)
Minor code style tweaks
Add a Cookies module for all related functions
Fix a small bug and make Cookies.set() and Cookies.clear() chainable