Only insert 1 loaderPrefix script

This works around the Cheerio multiple insert issue introduced in 0.14.0 and also improves the output content.