@return to ajax constructor