Added global anonymous function and Node.js support.