Modified documentation to fit JSDoc syntax