/*global define*/
// ignore non-camel case decided by server
/* jshint -W106*/
define(['underscore', 'backbone'], function(_, Backbone) {
    'use strict';

    // UsageModel
    // --------
    //
    // This is the model backing the Usage Widget
    //
    return Backbone.Model.extend({
        defaults: {
            added_date: Date.now(),
            cluster: 0,
            id: 0,
            total_avail: 0,
            total_space: 0,
            total_used: 0
        },
        getPercentageUsed: function() {
            return this.get('total_used') / this.get('total_avail') * 100;
        }

    });
});

@@ -252,22 +252,30 @@
  //%0A    
-return
+window.Usage =
  Backbon
@@ -291,16 +291,125 @@
 xtend(%7B%0A
+        url: function() %7B%0A            return '/api/v1/cluster/' + this.get('cluster') + '/space';%0A        %7D,%0A
         
@@ -477,17 +477,17 @@
 luster: 
-0
+1
 ,%0A      
@@ -722,16 +722,16 @@
  %7D%0A%0A
-
     %7D);%0A
 %7D);%0A
@@ -726,12 +726,37 @@
     %7D);%0A
+    return window.Usage;%0A
 %7D);%0A

Add test URL to try against server