Refactored layouts into common head/body partials so custom java script could be added if needed