/* Navigation bar */

document.getElementById("nav").innerHTML =
    '<div class="container">'+
    '<!-- Brand and toggle get grouped for better mobile display -->'+
    '<div class="navbar-header">'+
    '<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">'+
    '<span class="sr-only">Toggle navigation</span>'+
    '<span class="icon-bar"></span>'+
    '<span class="icon-bar"></span>'+
    '<span class="icon-bar"></span>'+
    '</button>'+
    '<!-- navbar-brand is hidden on larger screens, but visible when the menu is collapsed -->'+
    '<a class="navbar-brand" href="index.html">Feed Southern Africa</a>'+
    '</div>'+
    '<!-- Collect the nav links, forms, and other content for toggling -->'+
    '<div class="collapse navbar-collapse" >'+
    '<ul class="nav navbar-nav navbar-right">'+
    '<li><a href="/">HOME</a></li>'+
    '<li><a href="/about">ABOUT</a></li>'+
    '<li><a href="/program_description">THE PROGRAM</a></li>'+
    '<li><a href="/join">JOIN</a></li>'+
    '<li><a href="/rates">RATES</a></li>'+
    '<li><a href="/contact">CONTACT</a></li>'+
    '</ul>'+
    '</div>'+
    '<!-- /.navbar-collapse -->'+
    '</div>'
;

/* Facebook like page*/

(function(d, s, id) {
    var js, fjs = d.getElementsByTagName(s)[0];
    if (d.getElementById(id)) return;
    js = d.createElement(s); js.id = id;
    js.src = "//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.4&appId=1534300023482847";
    fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));


/* Footer */

document.getElementById("footer").innerHTML = '<div class="container">'+
    '<div class="row">'+
    '<div class="col-lg-6 text-center" style="padding-top:1% ">'+
    '<div  class="fb-page" data-href="https://www.facebook.com/pages/Feed-Southern-Africa/1095310450480809?fref=ts" data-width="180" data-height="70" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="false">' +
    '<div class="fb-xfbml-parse-ignore">' +
    '<blockquote cite="https://www.facebook.com/pages/Feed-Southern-Africa/1095310450480809?fref=ts">' +
    '<a href="https://www.facebook.com/pages/Feed-Southern-Africa/1095310450480809?fref=ts">Feed Southern Africa' +
    '</a>' +
    '</blockquote>' +
    '</div>' +
    '</div>' +
    '</div>'+
'<div class="col-lg-6 text-center">'+
'<p style="text-align: center"> ' +
    '&copy;  ' + new Date().getFullYear() + ' Feed Southern Africa. All rights reserved.' +
    '</p>'+
'</div>'+

'</div>'+
'</div>';

@@ -1,8 +1,364 @@
+/* Facebook like page*/%0A%0A(function(d, s, id) %7B%0A    var js, fjs = d.getElementsByTagName(s)%5B0%5D;%0A    if (d.getElementById(id)) return;%0A    js = d.createElement(s); js.id = id;%0A    js.src = %22//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.4&appId=1534300023482847%22;%0A    fjs.parentNode.insertBefore(js, fjs);%0A%7D(document, 'script', 'facebook-jssdk'));%0A%0A%0A
 /* Navig
@@ -1554,362 +1554,8 @@
 %0A;%0A%0A
-/* Facebook like page*/%0A%0A(function(d, s, id) %7B%0A    var js, fjs = d.getElementsByTagName(s)%5B0%5D;%0A    if (d.getElementById(id)) return;%0A    js = d.createElement(s); js.id = id;%0A    js.src = %22//connect.facebook.net/fr_FR/sdk.js#xfbml=1&version=v2.4&appId=1534300023482847%22;%0A    fjs.parentNode.insertBefore(js, fjs);%0A%7D(document, 'script', 'facebook-jssdk'));%0A
 %0A%0A/*

Update custom.js