adding back in lazyqueue.js