more IE provisions in adapter
fixing addClass assumption
Merge branch 'master' into gh-pages