For Loop Iterate Through Array Javascript