Simplifying WebGL: Building an Effective Layout Engine