createAjax fix