Separate the ads.js: get the device info, get the ads info