Used function form
Moved validator.js to public/. Implemented idock client side validation using validator.js
Added receptor() and queries() to validator.js
Implemented client side validation for igrep