Flask with d3.js