Fix some function arguments to fit spidermonkey 33