fix css and test cases

Android 2.3 do not support classList
add simple test cases
Merge pull request #1 from ousiri/master

fix css and test cases