Add js validation on setup