Add version detection for SpiderMonkey VM.