fixed javascript to add adopted to basket