Packed And Unpacked Array In Javascript