Moved validate.main.js to a sub level.