How to pass "Set" from JavaScript(skuid page) and get to in apex?

Hi Anna , I have solved by passing list as string.
My question was -
var serviceId = ;
serviceId.push(‘2365141’);
serviceId.push(‘2365142’);

Now I was want to send this service ID to my web service as a List
not list
sforce.apex.execute(‘className’,‘Method’,{
serviceId:serviceId
});
is it possible ?