   PRESENTER: ["/common.css", "/presenter.css"]
   ORG_MODE: ["/common.css", "/presenter.css"]
 
-exports.mode_observable = mode_observable = new Rx.Subject()
-setPresentationMode = (mode) -> mode_observable.onNext(mode)
+setPresentationMode = (mode) -> clientModeChangeEventstream.onNext(mode)
 
 setStylesheet = (mode) ->
   $("style").remove()

      $("#reveal").hide()

handleModeChange = mktee(setStylesheet, toggleDomElemsForMode)
mode_observable.subscribe(handleModeChange)

################################################################################
# transform org-mode slides to Reveal.js section tags

$ = require "jquery"
Rx = require "rx"
_ = require "underscore"
{EVENTS} = require "./app.core"
{mktee} = require("./utils")

exports.clientModeChangeEventstream = clientModeChangeEventstream = new Rx.Subject()
################################################################################
MODES =
  AUDIENCE: "AUDIENCE",
