Use PHP to check if the language cookie is set. When we're using jQuery ...

...to check this, the entire page needs to be initialized first.