Haxe/Javascript google chrome extension type definitions