Access to JavaScript environment

Is dynamic support on the roadmap? For scenarios like this it would be quite useful.

[Update: Nevermind. Saw this post]