Extract top and bottom. Use middleman css and js helpers.