Move AJAX out of config, added globals to $.nemac namespace