Rename position-dependant commands consistently.
app.js: add semicolons; rename payload to body