remove console.log
Queue up operations so they execute in order

console.logs need to be stripped out