js disable& validate error