IE8 error fix

Replaced getElementsByClassName() with querySelectorAll().
convert changes to coffeescript
1.0.1