Thanks to the open-source community, a bunch of improvements and fixes have been made on this:
- merged @lifthrasiir's PR.
- counts in both directions
- easing optional
- supports IE8
- optional callback on animation complete
- coffeescript and minified versions available