Added docblocks to methods in lib/uac/*.js, and minor cleanup