var gwActionName = 'gwActionName'; var gwClassName = 'gwClassName'; var functionParametersNames = ['param1', 'param2']; var functionParameters = ['abc', 123]; executeGwAction(gwActionName, gwClassName, functionParametersNames, functionParameters);