Added constants to renderer.js.