[Liskov] do not create needless style attributes

 as it makes dom slower
needed to improve ace rendering performance

@ajaxorg/liskov