 
     sinkrow.dash queue, callback
 
-  # This is the most important method to put & run additional apps on Koding
-  # Please make sure about your changes on it.
+  ## This is the most important method to put & run additional apps on Koding
+  ## Please make sure about your changes on it.
   @putAppScript = (app, callback = kd.noop)->
 
     if app.style
+      cb = if app.script then kd.noop else callback
       @appendHeadElement 'style',  \
-        { app: app, url:app.style, identifier:app.identifier, force: yes }
+        { app: app, url:app.style, identifier:app.identifier, force: yes }, callback
 
     if app.script
       @appendHeadElement 'script', \

        attributes =
          rel      : 'stylesheet'
          href     : url
      else
        attributes =
          type     : "text/javascript"

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

  @destroyScriptElement = (type, identifier)->
    (global.document.getElementById "internal-#{type}-#{identifier}")?.remove()
