The ER stress factor XBP1s prevents amyloid-beta neurotoxicity.