Fix charset for d3.js