IE8 error fix

Replaced getElementsByClassName() with querySelectorAll().
convert changes to coffeescript
1.0.1
Merge tag '1.0.1' into gh-pages