function() {
		this.scrollToCurrent();
		window.addEventListener('hashchange', this.scrollToCurrent.bind(this));
		document.body.addEventListener('click', this.delegateAnchors.bind(this));
	  }
function() {
		this.scrollToCurrent();
		window.addEventListener('hashchange', this.scrollToCurrent.bind(this));
		document.body.addEventListener('click', this.delegateAnchors.bind(this));
	  }
function ( ) { this . scrollToCurrent ( ) ; window . addEventListener ( 'hashchange' , this . scrollToCurrent . bind ( this ) ) ; document . body . addEventListener ( 'click' , this . delegateAnchors . bind ( this ) ) ; }
Establish events, and fix initial scroll position if a hash is provided.
Establish events and fix initial scroll position if a hash is provided .
Add event listeners to the window and the document