Utilities for Javascript plug

Why not just `while queue`?