A few nitpicks.

1. Remove var shadow from Scrollend.
2. Change 'this' refs to 'window', as that is more clear
3. Remove 'self' var, 'cause
4. Change docs so 'new' is used