Improving DOM layout in playground