improve DC stroke and CSS/JS