adding D3 easing code to a rails app using d3-rails gem