corrected path to external JS file and changed drop-down from name to id