Update cookies.js

saving all favourites in one cookie