add hasClass support
Merge pull request #9 from mojotech/jt/todomvc

add hasClass support