code: function _replaceMacros(s, macros, obj) {
      var regex = null;
      for (var i = 0; i < macros.length; i++) {
          var macro = macros[i];
          regex = new RegExp(macro.macro, "g");
  
          s = s.replace(regex, obj[macro.prop]);
      }
  
      return s;
  }
docs: Replaces macros in a string with the properties of an object
  @param s The string to replace the macros in
  @param macros The macros to replace the string with
  @param obj the object to get the macro properties from
  @returns {String} - The string with the macros replaced
  @private