jsdoc and whitespace clean up

proxy getUserPosts parameter name clean up too, added some jsdoc
documentation, and cleaned up various whitespace issues. Dispatcher
setMessage now takes a callback parameter