fixed haxe.Template because it couldn't  apply Array and IntIterator to ...

..."execute()"  on JavaScript