Syncs with current d3.js version
Consolidates version handling