[CB-2653] Delay executeScript/insertCSS callback until resources have loaded; pass JS results to callback