#217 Replace "element.setAttribute" to "cssText or element.style."