var StatTimer = window.StatTimer = { _s: new Date().getTime(), data: {}, stub: function(name) { this['data'][name] = (new Date().getTime() - this._s) / 1000; } };