DOM improvements in second.html