make ajax timeout a config option