playing with requirejs and a self made iterator