Update ActionQueue.js

rough working version