adding charset and switching to uncompressed d3