PhoneGap + Backbone app with rails backend