fixed android 2.3 js and style issue