code: function(id) {
  		var hash = "#" + "event-" + id.toString();
  		if (window.location.protocol != 'file:') {
  			window.history.replaceState(null, "Browsing TimelineJS", hash);
  		}
  		this.fire("hash_updated", {unique_id:this.current_id, hashbookmark:"#" + "event-" + id.toString()}, this);
  	}
docs: Update hashbookmark in the url bar