Just switch to linux and it should just work. There are distros that use very little ram and it stays updated. Noscript can help you block javascript on websites
A 15 year old device can be still as capable as a raspberry pi and those work fine now for modern computing
A 15 year old device can be still as capable as a raspberry pi and those work fine now for modern computing