Fixed js: args replaced with params