AMD-friendly ajax.js