Update prefCookie.js

readCookie now returns a list instead of a string.