Added javascript to fix validation on drop-down menu