moved all state.js logic into filter.js to improve file naming conventions
created new jbuilder returning data for piechart
added js filr for creating the d3 pie chart from jbuilder
removed keyframe animation, in the js file now