 
 
   # write default CSS to the DOM 
-  writeDefaultStyle = () ->
+  writeDefaultStyle = ->
     style = document.createElement('style')
     style.type = 'text/css'
     style.innerHTML = '.sprite{ position: absolute; pointer-events: none; } .hidden{ display: none; }'

        requestTick 0, sender 
        @left = event.pageX
        @top = event.pageY
    start: () ->
      return if @started
      @started = true
      @docSelector.on("mousemove", @handler).one("mouseout", @stop)
    stop: () ->
      return if not @started
      @started = false
      @docSelector.off("mousemove", @handler).one("mouseover", @start)

  eventCallback = (name, script, scope, fnargs=['value']) ->
    # console.log 'binding to event expression', name, script, scope, fnargs
    js = compileScript(script, fnargs)
    ->
      if name of scope
        args = [scope[name]]
      else 
