Moving D3 into libs to keep from building jsdom

Some platforms have problems with that, and we don't need it.