Added a bunch of cast/untyped to workaround haxe JS issue… :(
See https://github.com/HaxeFoundation/haxe/issues/2451
init TravisCI