Add UncaughtErrorEvent class for HTML5, fix Vector for older Haxe version on HTML5