Rails Milia multi-tenant | JS - single page setup (Backbone)