Use JavaScript to detect unclosed HTML tags

Previous-Change-Id: I27f3456de6a6025962afef08aea6440706095947
Change-Id: I72524db89112684225721b5d9729b6fd5a8221cd
Merge "Use JavaScript to detect unclosed HTML tags"