Iterating Over Array Initialization Javascript Function Expression