Bug 968085 - Don't rely on global variable from keyboard.js in render.js
Merge pull request #15967 from comoyo/bug968085

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