 
 # Running code does not provide access to this scope.
 CoffeeScript.run = (code, options) ->
-  (Function CoffeeScript.compile code, options)()
+  options?.wrap = no
+  Function(CoffeeScript.compile code, options)()
 
 # If we're not in a browser environment, we're finished with the public API.
 return unless window?

# Override exported methods for non-Node.js engines.

CoffeeScript = require './coffee-script'

# Use standard JavaScript `eval` to eval code.
CoffeeScript.eval = (code, options) ->

        setTimeout -> CoffeeScript.run script.innerHTML
  null
if window.addEventListener
  addEventListener 'DOMContentLoaded', runScripts, no
else
  attachEvent 'onload', runScripts
