using .attr() with class works like jQuery
Merge pull request #1 from nickb1080/class-attr

using .attr() with class works like jQuery