[javascript] Is it possible to send a variable number of arguments to a JavaScript function?