lots of work done on Queue.js -- added in iterator/generator prototype