translating to javascript. added basic HTML, CSS, JS