public function getJavascriptOptions() {
        $out = $this->_options['javascriptOptions'];
        $out['options'] = base64_encode(serialize(array(
            'pageSize' => $this->_options['pageSize'],
            'viewPath' => $this->_options['viewPath'],
            'filters'  => $this->getFilters()
        )));
        return $out;
    }