Use Rooted instead of raw type
Use new API of SpiderMonkey 33