Helper to create buffers for WebGL