content script background wrapper for ajax call