Updated footer in layout.jade with ajax functionality