   @appendScriptElement = (type, {identifier, url, callback})->
 
     identifier = identifier.replace /\./g, '_'
-    cssClass   = "internal-#{type}-#{identifier}"
+    domId      = "internal-#{type}-#{identifier}"
     vmName     = FSHelper.getVMNameFromPath url
     tagName    = type
 

      file = FSHelper.createFileFromPath url
      file.fetchContents (err, partial)->
        return  if err
        obj = new KDCustomHTMLView {cssClass, tagName, partial}

        if type is 'script'
          obj.once 'viewAppended', -> callback null

        bind       = "load"
        load       = -> callback null


      document.head.appendChild (new KDCustomHTMLView {
        domId, tagName, attributes, bind, load
      }).getElement()

  # #
