Rewrited to object system - debug ajaxpage