API doc fixes in a10_event.js and a40_entityMetadata.js