Remove some unused variables from renderer.js