public function getClientSideOptions()
{
$options = array();
if ($theme = $this->getThemeName()) {
$options['theme'] = $theme;
}
if ($lang = $this->getLanguage()) {
$options['lang'] = $lang;
}
if ($trans = $this->getCustomTranslations()) {
$options['custom_translations'] = $trans;
}
return $options;
}