Bascic Sample in HTML and JavaScript