Update Command.js

Added ability to buffer multiple commands into a single action