Bug 968085 - Don't rely on global variable from keyboard.js in render.js