Modified D3.js to use Moment.js