             "width=#{w},height=#{h},left=#{Math.floor (screen.width/2) - (w/2)},top=#{Math.floor (screen.height/2) - (h/2)}"
 
     @markers = new MarkerController
-
+    @widgetPlaceholder = new KDCustomHTMLView
+      cssClass         : "home-widget-placeholder"
+
+    if partialData.css
+      tag           = document.createElement "style"
+      tag.innerHTML = partialData.css
+
+      document.head.appendChild tag
+
+    if partialData.js
+      try
+        eval Encoder.htmlDecode partialData.js
+      catch
+        console.warn "Home page custom code failed to execute"
 
   showVideo:->
-
     @play.hide()
     @markers.hide 'teamwork'
     @$('figure.laptop section.teamwork').hide()
     @$('figure.laptop').append iframe
 
-
-
   hideVideo:->
-
     @play.show()
     @$('figure.laptop section.teamwork').show()
     @$('figure.laptop iframe').remove()
     KD.utils.wait 1000, => @markers.show 'teamwork'
 
-
   show:->
-
     @appendToDomBody()  unless document.getElementById 'home-page'
 
     @unsetClass 'out'

class HomePage extends JView

  iframe = """<iframe src="//www.youtube.com/embed/5E85g_ddV3A?autoplay=1&origin=https://koding.com&showinfo=0&theme=dark&modestbranding=1&autohide=1&loop=1" width="853" height="480" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>"""

  constructor:(options = {}, data)->



    KD.utils.defer => @markers.reset()

  hide:->
    @setClass 'out'
    document.body.classList.remove 'intro'

