induced d3.js to draw pie chart
fixed app.rb for production