more javascript magic, removed old html, added full container