combine "mode.html" and "social.html" files