     DIV 
       key: "homepage_#{subdomain.name}"      
 
-      SimpleHomepage()
+      DIV
+        id: 'homepagetab'
+        role: if customization('homepage_tabs') then "tabpanel"
+        style: 
+          margin: '45px auto'
+          width: HOMEPAGE_WIDTH()
+          position: 'relative'
+
+        if customization('auth_callout')
+          AuthCallout()
+
+        if !fetch('/proposals').proposals
+          ProposalsLoading()   
+        else 
+          if customization('homepage_tab_views')?[homepage_tabs.filter]
+            view = customization('homepage_tab_views')[homepage_tabs.filter]()
+            if typeof(view) == 'function'
+              view = view()
+            view
+          else
+            SimpleHomepage()
+
+  typeset : -> 
+    subdomain = fetch('/subdomain')
+    if subdomain.name == 'RANDOM2015' && $('.MathJax').length == 0
+      MathJax.Hub.Queue(["Typeset", MathJax.Hub, ".proposal_homepage_name"])
+
+  componentDidMount : -> @typeset()
+  componentDidUpdate : -> @typeset()
 
 
 window.proposal_editor = (proposal) ->

window.Homepage = ReactiveComponent
  displayName: 'Homepage'
  render: ->
    doc = fetch('document')
    subdomain = fetch('/subdomain')

    return SPAN null if !subdomain.name



  render: -> 
    current_user = fetch('/current_user')
    proposals = sorted_proposals(fetch('/proposals').proposals, @local.key, true)

    homepage_tabs = fetch 'homepage_tabs'
    aggregate_list_key = homepage_tabs.filter

    List
      key: aggregate_list_key
      aggregates: get_all_lists()
      list: 
        key: "list/#{aggregate_list_key}"
        name: aggregate_list_key
        proposals: proposals


#############
# SimpleHomepage
#
# Two column layout, with proposal name and mini histogram. 
# Divided into lists. 

window.SimpleHomepage = ReactiveComponent
  displayName: 'SimpleHomepage'

  render : ->
    current_user = fetch('/current_user')
    lists = clustered_proposals_with_tabs()
    homepage_tabs = fetch 'homepage_tabs'

    DIV null, 
      for list, index in lists or []
        List
          key: "list/#{list.name}"
          list: list 

      if current_user.is_admin && homepage_tabs.filter not in ['About', 'FAQ']
        NewList()
          


window.HomepageTabTransition = ReactiveComponent
