project submission js validation