This script is in charge to detect whether the client is compatible with the
game (not being Internet Explorer, having support of local storage and
websockets).
It also manages the theme preference, stored in the localStorage, and displays
the corresponding theme according to this preference.