Is it Possible to Call a Script function from KM, passing the parameters?

###Is it Possible to Call a Script function from KM, passing the parameters?

So, I have a JavaScript function:
function addLineBreaks (pstrSource, pnumWordsPerLine, pstrLB)

I know I can get KM vars from JavaScript, but I'd like to keep my JavaScript lib pure, independent of what's calling it.

So what I'd like is to use is the Execute JavaScript in Safari Action, calling a Script file, and passing the parameters from the KM action.

Something like this, which doesn't currently work:

Is there another way of doing this, other than getting the KM vars in the script?
Or does this need to be an enhancement request?

TIA for your thoughts.