Move showMost*() into global scope, add JSDoc and format.