Jquery Loop Over Array Javascript Push Key Value Pair Vs Dictionary