The command is stored in the message.command attribute. i.e.
if (responseMessage.command != null) { var command = JSON.parse(responseMessage.command); ... }