We could simplify this code and iterate over an object of location, something like:

`var kindOfAddress = { 'home': 'hometown_location', 'current': 'current_location' };
var out = [];
Object.keys(kindOfAddress).forEach(function onAddressType(type) {
   var addressObj = fbdata[kindOfAddress[type]];
   if (addressObj) {
       out.pus(fillAddress(addressObj, type);
   }
});`


Didn't check that code, but you'll get the idea :)