code: function TimerWorker(ww) {
    var self = this;
  
    this.__ww__ = ww;
    this.__timer_handlers__ = {};
  
    this.__ww__.onmessage = function (event) {
      if (event.data.type === 'tick') {
        self.__timer_handlers__[event.data.id]();
      }
    };
  }
docs: ///////////////////////////////////////////////////////////////////////////// Communicate with web worker to create/destroy timers