common.js and EntityRef documentation updates