removed stupid taskqueue for js array queue