function init_head_items() { $this->head_items->add_javascript(JQUERY_URL, true); // uses jquery - jquery should be at top $this->head_items->add_javascript(WEB_JAVASCRIPT_PATH . 'content_managers/publication.js'); parent::init_head_items(); }