Display Infos changes

Some changes in javascript function to display infos into javascript
console.