Adding charset header in Ajax Mode

https://github.com/modxcms/evolution/commit/08c60c29fa72c7fa0fc945aa6d356d8cdefd245a
Separate snippet code