added console.trace shim