dropdown created. Javascript structure stated