Execute JavaScript

Execute JavaScript in the browser and store the return value in a variable.