forgot to commit this extra jquery cookie stuff