added a root url global for ajax, based on config.py