Update for.js to support twig-style key iterators

Swig uses "loop.key" where twig uses "for key,data in object". 
This quick hack allows this approach (which in our case is relevant in migrating from Twig to Swig).