change data handling in ajax method

- resultset is now processed directly by ajax method
- small fix in config file