Use Array.push instead of Array[index]

Array.push can be up to 20x faster.
http://jsperf.com/object-vs-array-vs-native-linked-list/14
Merge pull request #49 from simple10/optimize-array-access

Use Array.push instead of Array[index]