Learning how to integrate a rails/backbone.js app into Cordova