I do have 'return false;' as the last line in the custom queue javascript function, and there aren't any errors on the page so it shouldn't be failing before returning false.
I'm using a combination of javascript and code-behind though, and from Example 2 I figured out I could use the following property to hide it.
.GetItemsTable().Visible = False
But as far as I can tell, the javascript 'return false;' does not work.