read from cookie every time init is called since cookie name might change
Merge branch 'master' into gh-pages