updated HTMLContainer.js