Rewrited to object system - plugins ajaxpage