JavaScript code to get the current number of items remaining in your queue and how long before it's finished.