Added optional section to MainLayout for views to put any scripts they need