If RuneScape keeps freezing your browser, the most likely culprit is that your computer doesn't have enough RAM (random access memory). RAM determines how many tasks your machine can juggle at once, and older computers often come with limited amounts.
Upgrading your RAM can make a big difference if you're running an aging system. It's also worth considering that a virus could be slowing things down, so running a thorough virus scan is a smart step to rule out any malicious software dragging down your performance.