Implemented a method to remove unwanted console logs

When running UglifyJS we will need to run
`uglifyjs --define DEBUG=false "main.js" > "main.min.js"`