Dynamic select menu creation using JavaScript.