fixed js input bug in race_select.c