fix in cookies.js
some minor bug fix in articles, langselector and translator

Signed-off-by: Roger Manich <roger.manich@gmail.com>