Handle ScriptArguments-style varargs.
Add CanvasElement.getContextWebGL().
Properly type the attributes param to getContextWebGL().
Switch to Haxe standard library code style.