deletion console.log
Refactoring js and add support for Modal Ajax