Translation preparation

I continued working on the translation of the page to Japanese. In the process I fixed some html consistency that made it better suited to be translated using javascript.