Some modifications.

Notice:The default value of html element--option of select--is not null,
or we can say we can't think it null when we manipulate javascript.