update minor ajax.js