fixed event form select fields javascript