Cleaning code
Removing extra javascript console output