test haxe-js amd with rectanglepacking module