Moves script embeds to <head>