Escapes special characters for JavaScript in a string, making the string safe for inclusion in to JavaScript strings.
Executes JavaScript on a panel using user input safely.