The problem isn't ideologies spreading on the Internet
If you have a youth without any hope, they are going to do such things, no matter what religion or other ideology they believe in. Austerity simply is wrong, and it will look wrong from many viewpoints.
So create a financial transaction tax, tax capital (at least the one noe invested) and take all of that money to kickstart the economy. Make a "New Deal" or a highly restrained form of capitalism. Invest in schools and universities, scrap tuition fees, perhaps even create a basic income.