Fork of glUtils.js