Replace boilerplate head and script tags with fdn