Using http://visjs.org browser-based visualization library with Rails 4 gem