Adding Batman.js with Rails backend