use GL. instead of this. in generateTempBuffers in order to not confuse closure
add browser testing for -O2 --closure 1