[#44053391]  Extract components of views.js into their own files.