added nnew validator js