got js working in spidermonkey