One thing that I like to do is use opaque representations of a data structure (like base64-encoded JSON) in URLs in situations where I've been compelled to optimize away one of my closures or continuations. The amount of code increases and it is certainly less elegant, but I only write a little more code by hand (the encoded data structure acts like the 'scope') and I keep the script kids from messing with the GET arguments.