Fixes to iterojs sample