Use semver in test_compat_rhino.js
Update dependencies