switch to vjs.obj.each