anchor.diff:          ]
         });
       }
  -
   
       // Create DATATABLE LOCATIONS
       var datatable_locations = function() {
  
positive.code:       }
      }
  
  
      // END Create Datatables (jQuery Plugin) //
  
  
  
      /*********************************
          Create CHART DATE RANGE
          for Visualization
      *********************************/
  
        // Create Timeline Array with Dates
          var setTimeUnit = function( unit ) {
          timePeriod.unit = unit;
          timePeriod.dates = [];
          timePeriod.datesFriendly = [];
          if (unit == 'days') {
  
            for ( i=startDate; i<=endDate; i.setDate(i.getDate() + 1 )) {
              var priorDate = new Date(i);
              var priorDateFriendly = moment(i).format('ll');
              timePeriod.dates.push(priorDate);
              timePeriod.datesFriendly.push(priorDateFriendly);
            }
            //console.log(timePeriod.dates.length);
          }
  
        } // Time Period Array
  
        /*var setTimeUnit = function( count, unit, startDate, endDate ) {
          timePeriod.count = count;
          timePeriod.unit = unit;
          timePeriod.dates = [];
          timePeriod.datesFriendly = [];
          var currentDate = new Date(); // Today
          if (unit == 'days') {
            for ( i=0; i<count; i++ ) {
  
              var tmpDate = new Date();
              tmpDate.setDate(currentDate.getDate() - i);
              tmpDate.setHours(0,0,0,0);
              var priorDate = new Date(tmpDate);
              var priorDateFriendly = moment(priorDate).format('ll');
  
              timePeriod.dates.push(priorDate);
              timePeriod.datesFriendly.push(priorDateFriendly);
            }
          }
          timePeriod.dates.reverse();
          timePeriod.datesFriendly.reverse();
        } // Time Period Array
        */
  
  
  
      /*********************************
          Draw CHARTs
      *********************************/
  
  
      var usersChart = function() {
  
        // Create Users Array within Timeperiod Dates (Lookup)
        // Set Length of Time Period Array to Length of Actual Dates
        timePeriodData.length = timePeriod.dates.length;
        timePeriodData.fill(0); // Prefill all Values with 0
  
        for ( i=0; i<users.length; i++ ) {
          var checkDate = new Date(users[i].created_at);
  
          // Loop Check every single User for all Dates in Range
          for ( d=timePeriodData.length-1; d>0; d-- ) {
            var check = checkDateRange( checkDate, timePeriod.dates[d], timePeriod.unit );
            if (check == true) {
              timePeriodData[d] +=1;
              break;
            }
          } // Loop Check every single User for all Dates
        } // Loop Check all Users
  
        var labeldata = timePeriod.datesFriendly;
        var chartdata = timePeriodData;
  
        chartTopArea = new Chart(topchart, {
          type: 'line',
  
negative.code:         return result;
        }
      }
  
      // Helper Functions
  
  
  
      /*********************************
  
          AJAX
          JSON Requests
  
      *********************************/
  
      // Get Users and Set Clean User Array
  