Updated both HTML and JavaScript code.

Got the JavaScript code to generate a drop down menu.