window.addEventListener('DOMContentLoaded', init); function init() { localizeHtmlPage(); }