use grunt to validate js files