fixed the javascript to allow only 1 selection at a time