https://wikimass.com/jquery/clearqueue