Update js-queue.js

Minor error at the end of js-queue.js file.