js array exercise completed