add advance validation js