renamed file to EventQueue.js