Javascript in Opera (presto) has always been slow, and always will now development has been stopped for this classic version of Opera. This is one of (but not the only) reasons Opera ASA decided to build a new version of Opera from scratch using the Blink rendering engine, as javascript runs blazingly fast using that engine, compared to Presto.