I've just read about the release of Safari4 (beta) and its much improved Javascript engine. I was planning to start playing with it, but I am wondering if anybody knows if both Safary 3 and Safari 4 can be run side by side.
Try this
Safari normally use the Web Kit framework found inside Mac OS X to render web pages and execute javascript. This means that if you preserve an old version of Safari to run it on a newer version of Mac OS, it will use the newer Web Kit found in the system and you will get the same results as with the newer version.
However, the link has some stand alone versions that you can install.
There's also this which shows how to create your own stand alone version.
You could run Safari 3 and use the nightly builds of Webkit to test the new engine. You'd be still missing the new features like Cover Flow and Top Sites though.
Beatnik Pad has a quick tutorial that shows how running Safari 4 Beta and Safari 3 side by side can be accomplished.