Load embed scripts with charset UTF-8

Fixes issues with unicode characters in d3.js breaking parsing when
the host document has a different encoding.