added javascript for choosing restaurant