adding d.js with tabs