Fixed a bug so require('js-priority-queue') works properly