Restructuring css, html, and js files