[javascript] How to execute a JavaScript function when I have its name as a string