Open to changing it. Coming from Ruby, javascript array traversal is weird, this is the closest to what I'm use to :)