protected function genericToScript($data)
{
$tit = strtoupper(str_slug($this->title));
$result = "console.groupCollapsed('{$tit}');";
foreach ($data as $key => $value) {
$result .= $this->cl('log', $key . ':', $value);
}
$result .= "console.groupEnd();";
return $result;
}