Localizing HTML and JavaScript. Part 2: Fixing the code

Part 2 of 2 short posts about HTML and JS localization