Added getAjax function to functions_misc.js