during the late jurassic period , which extended up to 130 million years ago , the largest dinosaurs were well-known varieties such as the long-necked brontosaurus , the spike-backed stegosaurus and the fierce , carnivorous allosaurus .