Minor changes. Most of them are code style or JSDoc changes.