Fixed span select javascript