handle scoped jsxtache vars in loops