rm console.log(), rm unused class, extract variable