something weird is happening with d3.js .. Uncaught TypeError: Cannot read property 'number' of undefined -- d3.min.js: 4