@borjasalguero
yes, here was the difference, In my proposal I was passing multiple arguments to a method in an array
function optionMethod(params)

while in your proposal each argument is explicit.
function optionMethod(param1, param2)

changing it to your proposed way works. thanks!