Create A New Array From Existing Array In Javascript