FIX bug javascript error in XP + IE8.

FIX bug javascript error in XP + IE8.
(styleWithCSS is not compatible ie8)