validation js files