Added comments to validation.js
Comments in two more files