Javascript Create Array With Key Value Proposition