convert keyword argument types to JavaScript types when calling external JavaScript function.