add ajax support for backend like sugarcrm. Warning: it doesn t support email encoding