select js bug