Added all edit & delete JS into global.index.js file
Moved validation to layout view