tidying up of html and adding support for nav TODO - make minified version of js for live