Also could have simplified this section:

```js
  /**
   * Gets the height of the document
   * @see http://james.padolsey.com/javascript/get-document-height-cross-browser/
   * @return {int} the height of the document in pixels
   */
  getDocumentHeight : function () {
    var body = document.body,
        documentElement = document.documentElement;

    return Math.max.apply(null,
      (this.scroller === window || this.scroller === body) ? 
       [body.scrollHeight, documentElement.scrollHeight,
        body.offsetHeight, documentElement.offsetHeight,
        body.clientHeight, documentElement.clientHeight] :
       [this.scroller.scrollHeight,
        this.scroller.offsetHeight,
        this.scroller.clientHeight]
    );
  },
```
Just not sure about the styling/indentation of this...