Most callbacks in the API except the word count call are missing the proper callback format callback(error, data). Should be useful to pass error messages to the front end (like this res.send(JSON.stringify({'error': error}))).
Also Standard.js seems to like it that way.
Relevant files are api.js and apibackend.js.