Looping javascript arrays has some pitfalls: http://stackoverflow.com/a/3010848/373007
Better use `for (var i = 0; i < response.data.length; i++) {`