Pull modal cover and date utils into their own files.

Move overview-specific functions into overview.js.