Reformat echo_bot.js example
Clean up formatting, fixed a couple of bugs