Rails 4.0 template with Snap.js library