Here are some tests done in Haxe and compiled to Javascript