added console.log check in grunt uglify