public function getOptions()
    {
        if (isset($this->options['id']))
            unset($this->options['id']);

        $this->registerAnimateCss();

        if (ArrayHelper::isIndexed($this->options)) {
            $str = '';
            foreach ($this->options as $value) {
                $str .= '"' . $value . '",';
            }
            return chop($str, ' ,');
        }
        return Json::encode($this->options);
    }