check ajax call. add config file