Managed Spidermonkey API wrapper