Integrating Spine.js into Ruby on Rails