Add validation.js
Add feature for routing