Reduce number of callbacks for notifying Ruby when all scripts have loaded.