Adding some D3 easing code to a rails app using the d3-rails gem