Moving global config vars to hb_ajax extension and out of hb_tools