Yes you can use JS to create navigation at the bottom of your pages but I would reccomend using SSI instead.
You can create a file with your navigation in and then insert that file on the bottom of the pages, this way you only need edit the one file and all other pages that reference that file will be updated automatically
Files will need to be .shtml rather than html or htm. Just place
<!--#include virtual="navigation.html" -->
where you want your navigation to appear and thats it ;)