This seems more readable as 
'''
for (var i = 0; i < blocklArray.length; i++) {
    var block = blockArray[i];
'''
That's subjective, so ignore if you disagree.