comments for debugging spidermonkey
fixed crash related to incorrect storing script objects. Thanks to Philip from #jsapi from irc.mozilla.org