write a Function of createXHR in advanceFunctions.js
lazy loading a Function of createXHR in advanceFunctions.js