Update api documentation solve jsduc warnings.
Small changes.