Deleted this since it's old and no longer needed.
Updated tagInHead to return a promise.