This can create conflicts with other elements on page, and there might be multiple statusbars on same page. maybe `element.className = "ace_colIndicator"` would be better?
Also you forgot to convert tabs to spaces.