restaurants to js array