       # console.log coffeeCache
       # return coffeeCache[script]
 
-  compileScript = (script='', args=[], compiler) ->
-    script = compilermappings[compiler](script) if compiler of compilermappings
+  transformScript = (script='', compiler) ->
+    return script unless compiler of compilermappings
+    script = compilermappings[compiler](script) 
+
+  compileScript = (script='', args=[]) ->
     # console.log 'compileScript', compiler, args, script
     try 
       new Function(args, script)

      for {name, script, args, type} in attributes.$handlers?
        name = name.substr(2)
        # console.log 'installing handler', name, args, type, script, @
        @bind(name, eventCallback(name, script, @, args, type))
      delete attributes.$handlers

      # Bind to event expressions and set attributes

        type = attributes.type or defaulttype
        handler = 
          name: attributes.name
          script: transformScript(script, type)
          args: args

        classattributes.$handlers.push(handler)
        # console.log 'added handler', attributes.name, script, attributes
