Update eventqueue.js