refactor($cookies): let polymer do some of the work
Simplify cookies attr handling, since Polymer takes care of this for us.