Convert JavaScript function arguments to a string