Revert "Use the shortcut syntax for Cookies.js"

This reverts commit c5670fccd4ef462c3d2e9af311bd41179a248e2a.