Update frame.webgl.js

Added missing `var`